package top.albertiy.策略模式;

public class Multiply extends AbstractCalculator implements ICalculator {
    @Override
    public int calculate(String exp) {
        int arrayList[] = split(exp, "\\*");
        return arrayList[0] * arrayList[1];
    }
}
